package com.ims.core.bas.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仓库对象 bas_stock
 *
 * @author IMS
 * @date 2024-03-20
 */
public class BasStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库ID */
    private Long stockid;

    /** 公司 */
    @Excel(name = "公司")
    private String companyname;

    /** 公司代码 */
    private String companycode;

    /** 仓库代码 */
    @Excel(name = "仓库代码")
    private String stockcode;

    /** 仓库 */
    @Excel(name = "仓库")
    private String stockname;

    /** 是否WMS管控仓 */
    @Excel(name = "是否WMS管控仓")
    private Long iswmsmanage;

    /** WMS仓代码 */
    @Excel(name = "WMS仓代码")
    private String wmszonecode;

    /** 仓库类型 */
    @Excel(name = "仓库类型")
    private String stocktype;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isenable;

    /** 仓库属性 */
    @Excel(name = "仓库属性")
    private String stockattribute;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String productstatus;

    public void setStockid(Long stockid)
    {
        this.stockid = stockid;
    }

    public Long getStockid()
    {
        return stockid;
    }
    public void setCompanyname(String companyname)
    {
        this.companyname = companyname;
    }

    public String getCompanyname()
    {
        return companyname;
    }
    public void setCompanycode(String companycode)
    {
        this.companycode = companycode;
    }

    public String getCompanycode()
    {
        return companycode;
    }
    public void setStockcode(String stockcode)
    {
        this.stockcode = stockcode;
    }

    public String getStockcode()
    {
        return stockcode;
    }
    public void setStockname(String stockname)
    {
        this.stockname = stockname;
    }

    public String getStockname()
    {
        return stockname;
    }
    public void setIswmsmanage(Long iswmsmanage)
    {
        this.iswmsmanage = iswmsmanage;
    }

    public Long getIswmsmanage()
    {
        return iswmsmanage;
    }
    public void setWmszonecode(String wmszonecode)
    {
        this.wmszonecode = wmszonecode;
    }

    public String getWmszonecode()
    {
        return wmszonecode;
    }
    public void setStocktype(String stocktype)
    {
        this.stocktype = stocktype;
    }

    public String getStocktype()
    {
        return stocktype;
    }
    public void setIsenable(Long isenable)
    {
        this.isenable = isenable;
    }

    public Long getIsenable()
    {
        return isenable;
    }
    public void setStockattribute(String stockattribute)
    {
        this.stockattribute = stockattribute;
    }

    public String getStockattribute()
    {
        return stockattribute;
    }
    public void setProductstatus(String productstatus)
    {
        this.productstatus = productstatus;
    }

    public String getProductstatus()
    {
        return productstatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("stockid", getStockid())
            .append("companyname", getCompanyname())
            .append("companycode", getCompanycode())
            .append("stockcode", getStockcode())
            .append("stockname", getStockname())
            .append("iswmsmanage", getIswmsmanage())
            .append("wmszonecode", getWmszonecode())
            .append("stocktype", getStocktype())
            .append("isenable", getIsenable())
            .append("stockattribute", getStockattribute())
            .append("productstatus", getProductstatus())
            .append("remark", getRemark())
            .toString();
    }
}
